Description: Opens the specified URL in Netscape, launching Netscape.exe if necessary. If Netscape is already running, opens the URL in the current Netscape window.
Parameters: <URL> The URL to open.
<bringToFront> TRUE or FALSE.
Returns: TRUE if no error was detected.
Note: This function may return control to your script before the browser actually executes the requested operation.
Description: Opens the specified URL in Microsoft Internet Explorer, launching IExplore.exe if necessary. If IExplore is already running, opens the URL in the current IExplore window.
Parameters: <URL> The URL to open.
<bringToFront> TRUE or FALSE.
Returns: TRUE if no error was detected.
Note: This function may return control to your script before the browser actually executes the requested operation.
Function: GetRemoteURL( browserName)
Description: Gets the URL for the page currently displayed by the specified browser.
Parameters: <browserName> Must be "Netscape" or "IExplore"
Returns: The URL for the currently displayed page, or NULL if not available.
Function: GetRemoteURLTitle(browserName)
Description: Gets the title of the page currently displayed by the specified browser.
Parameters: <browserName> Must be "Netscape" or "IExplore"
Returns: The title of the currently displayed page, or NULL if not available.
Function: CloseBrowser(browserName)
Description: Closes the current browser window. If this is the only window of the browser, closes the browser completely.
Parameters: <browserName> Must be "Netscape" or "IExplore"
Returns: TRUE if the browser was running.
Note: This function may return control to your script before the browser actually executes the requested operation.
Function: ActivateBrowser(browserName)
Description: Activates the current browser window. Normally, the window becomes the active window.
Parameters: <browserName> Must be "Netscape" or "IExplore"
Returns: TRUE if the browser was running and accepted the command.
Note: This function may return control to your script before the browser actually executes the requested operation.
Result of FindNetscapeExe( )
FindNetscapeExe
buttonClick
buttonClick
FindNetscapeExe()
"Result
)" & CRLF &
Result of FindIExploreExe( )
FindIExploreExe
buttonClick
buttonClick
FindIExploreExe()
"Result
)" & CRLF &
Result of OpenURLInNetscape( )
www.asymetrix.com
OpenURLInNetscape
buttonClick
buttonClick
OpenURLInNetscape("www.asymetrix.com",
"Result
4 )" & CRLF &
Result of OpenURLInIexplore( )
OpenURLInIExplore
www.asymetrix.com
buttonClick
buttonClick
OpenURLInIExplore("www.asymetrix.com",
"Result
OpenURLInIexplore( )" & CRLF &
IExplore
Result of getRemoteURL("IExplore")
nullStrOr
Netscape
81getRemoteURL
Result of getRemoteURL("Netscape")
buttonClick
<null result>
nullStrOr
buttonClick
nullStrOr(getRemoteURL("Netscape"))
txt = "Result
")" & CRLF &
;IExplore"))
s = "<
yresult>"
IExplore
Result of getRemoteURLTitle("Netscape")
nullStrOr
Netscape
Result of getRemoteURLTitle("IExplore")
getRemoteURLTitle
buttonClick
<null result>
nullStrOr
buttonClick
nullStrOr(getRemoteURLTitle("Netscape"))
txt = "Result
")" & CRLF &
AIExplore"))
s = "<
yresult>"
IExplore
}-CloseBrowser
Result of CloseBrowser("IExplore")
Netscape
Result of CloseBrowser("Netscape")
buttonClick
buttonClick
CloseBrowser("Netscape")
txt = "Result
")" & CRLF &
@IExplore")
IExplore
Netscape
Result of ActivateBrowser("IExplore")
ActivateBrowser
Result of ActivateBrowser("Netscape")
buttonClick
buttonClick
ActivateBrowser("Netscape")
txt = "Result
")" & CRLF &
CIExplore")
9611111205586783941139130674
ASYM_TpID
Browser Utility functions
FindNetscapeExe
_FindNetscapeExe
"Browser Utility functions"
FindIExploreExe
_FindIExploreExe
OpenURLInNetscape
_OpenURL(
OpenURLInIExplore
GetRemoteURL browserName
_GetRemoteURL(
GetRemoteURLTitle
_GetRemoteURLTitle(
CloseBrowser
_CloseBrowser(
ActivateBrowser
_ActivateBrowser(
FindNetscapeExe
_FindNetscapeExe
"Browser Utility functions"
FindIExploreExe
_FindIExploreExe
OpenURLInNetscape
_OpenURL(
OpenURLInIExplore
GetRemoteURL browserName
_GetRemoteURL(
GetRemoteURLTitle
_GetRemoteURLTitle(
CloseBrowser
_CloseBrowser(
ActivateBrowser
_ActivateBrowser(
ReadWindowsRegistry MainKey, keyName, valueName
_ReadWindowsRegistry(
is16BitOnly
_is16BitOnly()\
IEXPLORE.
) < 1
_OpenURLInNetscape
_OpenURLInIExplore
_GetRemoteURL browserName
itm = "0xFFFFFFFF"
M"WWW_GetWindowInfo"
_GetRemoteURLTitle
p =
~("[",
p > 0
_CloseBrowser
M"WWW_Exit"
--
does
xaccept
-- Try a much
method
hWnd = FindNetscapeWindowHandle()
linkDLL "user"
INT PostMessageDWORD =
--
+ a WM_CLOSE message
,0x0010,0,0)
("No
_ActivateBrowser
M"WWW_Activate"
("No
URL,
OK =
xFALSE
winID = "0
cmd = QUOTE & url &
," &
F& ",0,
M"WWW_OpenURL"
~("No Server",
r) > 0
r; ss =
exeName =
"Iexplore"
& ".
OK =
FlushMessageQueue()
OK = (
~("OK",
r) = 1)
,0x0"
sysVersion &
dllName = "tb" &
STRING
& "dos.
& "f32.
= FileExists32(
-- returns TRUE
cannot
4s_16bitOnly
isType("Logical",
ss =
; oldse =
r; oldsen = sysErrorNumber;
linkDLL32 "user32.dll"
ASYM_WinHelpByNumber = WinHelpA(
MainKey, keyName, valueName
ZResult
errNo
dwMainKey =
0x80000000
/0x80000001
G0x80000002
T"HKEY_USERS"
g0x80000003
t"HKEY_PERFORMANCE_DATA"
0x80000004
"HKEY_CURRENT_CONFIG"
0x80000005
"HKEY_DYN_DATA"
0x80000006
kernel"
GlobalAlloc(
POINTER GlobalLockPointer =
GlobalUnlock(
GlobalFree(
16Bits(
advapi32.
LONG RegQueryValue32 = RegQueryValueExA(
BOpenKey32 = RegOpenKeyA(
RegDeleteKey32 = RegDeleteKeyA(
RegCloseKey32 =
ERROR_SUCCESS = 0
hBuff =
0x2040,256)
= -41;
lpBuff =
"0,0"
= -41
hParams =
lpParams =
"0,0"
= -41
lpType =
lpCbBuff =
lpHKey =
"Memory alloc error
ctrying
registry
r = RegOpenKey32(
lpHkey)
r = 0 --
PointerDWORD(0,
,1) -- REG_SZ
,255)
r =
result = pointerSTRING(0,
shell"
= -41;
"0,0"
= -41
"0,0"
= -41
r =
r = 0 --
PointerLONG(0,
,255)
, "",
FindWindowByText=
FindNetscapeExe
_FindNetscapeExe
"Browser Utility functions"
FindIExploreExe
_FindIExploreExe
OpenURLInNetscape
_OpenURL(
OpenURLInIExplore
GetRemoteURL browserName
_GetRemoteURL(
GetRemoteURLTitle
_GetRemoteURLTitle(
CloseBrowser
_CloseBrowser(
ActivateBrowser
_ActivateBrowser(
ReadWindowsRegistry MainKey, keyName, valueName
FindNetscapeExe
_FindNetscapeExe
"Browser Utility functions"
FindIExploreExe
_FindIExploreExe
OpenURLInNetscape
_OpenURL(
OpenURLInIExplore
GetRemoteURL browserName
_GetRemoteURL(
GetRemoteURLTitle
_GetRemoteURLTitle(
CloseBrowser
_CloseBrowser(
ActivateBrowser
_ActivateBrowser(
ReadWindowsRegistry MainKey, keyName, valueName
_ReadWindowsRegistry(
FindNetscapeExe
_FindNetscapeExe
"Browser Utility functions"
FindIExploreExe
_FindIExploreExe
OpenURLInNetscape
_OpenURL(
OpenURLInIExplore
GetRemoteURL browserName
_GetRemoteURL(
GetRemoteURLTitle
_GetRemoteURLTitle(
CloseBrowser
_CloseBrowser(
ActivateBrowser
_ActivateBrowser(
ReadWindowsRegistry MainKey, keyName, valueName
_ReadWindowsRegistry(
is16BitOnly
_is16BitOnly()\
_FindNetscapeExe
linkMyDLLs
is32bit =
xis16BitOnly()
ReadWindowsRegistry("HKEY_LOCAL_MACHINE",\
"SOFTWARE\Microsoft\
;\CurrentVersion\App Paths\NETSCAPE.EXE",NULL)
GetShortFileName32(
FileExists(
) < 1
y("HKEY_CURRENT_USER",\
"Software\
Navigator\Main", "Install Directory")
) < 1
-- try harder
older key value compatible
fWin 3.1
("HKEY_CLASSES_ROOT",\
"NetscapeMarkup\protocol\StdFileEditing\server",
fileExists(
) < 1
GetIniVar("embedding","
","win.ini")
) < 1
_FindIExploreExe
IEXPLORE.
) < 1
_OpenURLInNetscape
_OpenURLInIExplore
_GetRemoteURL browserName
itm = "0xFFFFFFFF"
M"WWW_GetWindowInfo"
_GetRemoteURLTitle
p =
~("[",
p > 0
_CloseBrowser
M"WWW_Exit"
--
does
xaccept
-- Try a much
method
hWnd = FindNetscapeWindowHandle()
linkDLL "user"
INT PostMessageDWORD =
--
+ a WM_CLOSE message
,0x0010,0,0)
("No
_ActivateBrowser
M"WWW_Activate"
("No
URL,
OK =
xFALSE
winID = "0
cmd = QUOTE & url &
," &
F& ",0,
M"WWW_OpenURL"
~("No Server",
r) > 0
r; ss =
exeName =
"Iexplore"
& ".
OK =
FlushMessageQueue()
OK = (
~("OK",
r) = 1)
,0x0"
sysVersion &
dllName = "tb" &
STRING
& "dos.
& "f32.
= FileExists32(
_is16BitOnly
-- returns TRUE
cannot
4s_16bitOnly
isType("Logical",
ss =
; oldse =
r; oldsen = sysErrorNumber;
linkDLL32 "user32.dll"
ASYM_WinHelpByNumber = WinHelpA(
_ReadWindowsRegistry MainKey, keyName, valueName
ZResult
errNo
dwMainKey =
0x80000000
/0x80000001
G0x80000002
T"HKEY_USERS"
g0x80000003
t"HKEY_PERFORMANCE_DATA"
0x80000004
"HKEY_CURRENT_CONFIG"
0x80000005
"HKEY_DYN_DATA"
0x80000006
kernel"
GlobalAlloc(
POINTER GlobalLockPointer =
GlobalUnlock(
GlobalFree(
16Bits(
advapi32.
LONG RegQueryValue32 = RegQueryValueExA(
BOpenKey32 = RegOpenKeyA(
RegDeleteKey32 = RegDeleteKeyA(
RegCloseKey32 =
ERROR_SUCCESS = 0
hBuff =
0x2040,256)
= -41;
lpBuff =
"0,0"
= -41
hParams =
lpParams =
"0,0"
= -41
lpType =
lpCbBuff =
lpHKey =
"Memory alloc error
ctrying
registry
r = RegOpenKey32(
lpHkey)
r = 0 --
PointerDWORD(0,
,1) -- REG_SZ
,255)
r =
result = pointerSTRING(0,
shell"
= -41;
"0,0"
= -41
"0,0"
= -41
r =
r = 0 --
PointerLONG(0,
,255)
, "",
FindWindowByText=
_FindNetscapeExe
linkMyDLLs
is32bit =
xis16BitOnly()
ReadWindowsRegistry("HKEY_LOCAL_MACHINE",\
"SOFTWARE\Microsoft\
;\CurrentVersion\App Paths\NETSCAPE.EXE",NULL)
GetShortFileName32(
FileExists(
) < 1
y("HKEY_CURRENT_USER",\
"Software\
Navigator\Main", "Install Directory")
) < 1
-- try harder
older key value compatible
fWin 3.1
("HKEY_CLASSES_ROOT",\
"NetscapeMarkup\protocol\StdFileEditing\server",
fileExists(
) < 1
GetIniVar("embedding","
","win.ini")
) < 1
_FindIExploreExe
IEXPLORE.
) < 1
_OpenURLInNetscape
_OpenURLInIExplore
_GetRemoteURL browserName
itm = "0xFFFFFFFF"
M"WWW_GetWindowInfo"
_GetRemoteURLTitle
p =
~("[",
p > 0
_CloseBrowser
M"WWW_Exit"
--
does
xaccept
-- Try a much
method
hWnd = FindNetscapeWindowHandle()
linkDLL "user"
INT PostMessageDWORD =
--
+ a WM_CLOSE message
,0x0010,0,0)
("No
_ActivateBrowser
M"WWW_Activate"
("No
URL,
OK =
xFALSE
winID = "0
cmd = QUOTE & url &
," &
F& ",0,
M"WWW_OpenURL"
~("No Server",
r) > 0
r; ss =
exeName =
"Iexplore"
& ".
OK =
FlushMessageQueue()
OK = (
~("OK",
r) = 1)
,0x0"
sysVersion &
dllName = "tb" &
STRING
& "dos.
& "f32.
= FileExists32(
_is16BitOnly
-- returns TRUE
cannot
4s_16bitOnly
isType("Logical",
ss =
; oldse =
r; oldsen = sysErrorNumber;
linkDLL32 "user32.dll"
ASYM_WinHelpByNumber = WinHelpA(
_ReadWindowsRegistry MainKey, keyName, valueName
ZResult
errNo
dwMainKey =
0x80000000
/0x80000001
G0x80000002
T"HKEY_USERS"
g0x80000003
t"HKEY_PERFORMANCE_DATA"
0x80000004
"HKEY_CURRENT_CONFIG"
0x80000005
"HKEY_DYN_DATA"
0x80000006
kernel"
GlobalAlloc(
POINTER GlobalLockPointer =
GlobalUnlock(
GlobalFree(
16Bits(
advapi32.
LONG RegQueryValue32 = RegQueryValueExA(
BOpenKey32 = RegOpenKeyA(
RegDeleteKey32 = RegDeleteKeyA(
RegCloseKey32 =
ERROR_SUCCESS = 0
hBuff =
0x2040,256)
= -41;
lpBuff =
"0,0"
= -41
hParams =
lpParams =
"0,0"
= -41
lpType =
lpCbBuff =
lpHKey =
"Memory alloc error
ctrying
registry
r = RegOpenKey32(
lpHkey)
r = 0 --
PointerDWORD(0,
,1) -- REG_SZ
,255)
r =
result = pointerSTRING(0,
shell"
= -41;
"0,0"
= -41
"0,0"
= -41
r =
r = 0 --
PointerLONG(0,
,255)
, "",
FindWindowByText=
_FindNetscapeExe
Browser Utility functions
FindNetscapeExe
_FindIExploreExe
Browser Utility functions
FindIExploreExe
Netscape
Browser Utility functions
Mq_OpenURL
OpenURLInNetscape
IExplore
Browser Utility functions
Mq_OpenURL
OpenURLInIExplore
Browser Utility functions
yT_GetRemoteURL
GetRemoteURL
>_GetRemoteURLTitle
Browser Utility functions
GetRemoteURLTitle
Browser Utility functions
P_CloseBrowser
CloseBrowser
_ActivateBrowser
Browser Utility functions
ActivateBrowser
_FindNetscapeExe
Browser Utility functions
FindNetscapeExe
_FindIExploreExe
Browser Utility functions
FindIExploreExe
Netscape
Browser Utility functions
Mq_OpenURL
OpenURLInNetscape
IExplore
Browser Utility functions
Mq_OpenURL
OpenURLInIExplore
Browser Utility functions
yT_GetRemoteURL
GetRemoteURL
>_GetRemoteURLTitle
Browser Utility functions
GetRemoteURLTitle
Browser Utility functions
P_CloseBrowser
CloseBrowser
_ActivateBrowser
Browser Utility functions
ActivateBrowser
_ReadWindowsRegistry
Browser Utility functions
ReadWindowsRegistry
_is16BitOnly
Browser Utility functions
is16BitOnly
IExplore
Mq_OpenURL
_OpenURLInIExplore
Netscape
0xFFFFFFFF
WWW_GetWindowInfo
_GetRemoteURL
Netscape
0xFFFFFFFF
WWW_GetWindowInfo
_GetRemoteURLTitle
)(FindNetscapeWindowHandle
Netscape
0xFFFFFFFF
PostMessage
PostMessageDWORD
PostMessageDWORD
WWW_Exit
No server
_CloseBrowser
WWW_Activate
Netscape
0xFFFFFFFF
No server
_ActivateBrowser
WWW_OpenURL
Iexplore
_ActivateBrowser
false
_FindNetscapeExe
WWW_Activate
exeName
0xFFFFFFFF
_FindIExploreExe
Netscape
0xFFFFFFFF,0x0
FALSE
,0,"","",
winID
No Server
_OpenURL
1, #>
FileExists
f32.dll
FileExists32
FileExists
GetShortFileName32
dos.dll
win.dll
dllName
GetIniVar
is16BitOnly
linkMyDLLs
WinHelpA
ASYM_WinHelpByNumber
;oldse
s_16bitOnly
user32.dll
is16BitOnly
AlpHKey
GlobalLockPointer
GlobalUnlock
HKEY_LOCAL_MACHINE
hBuff
lpType
kernel
HKEY_CURRENT_CONFIG
dwMainKey
AHKEY_CLASSES_ROOT
+yRegQueryValue32
AlpParams
HKEY_CURRENT_USER
advapi32.dll
Memory alloc error while trying to get registry Info
RegOpenKey32
hParams
HKEY_USERS
GlobalFree
RegQueryValueExA
RegQueryValue32
RegOpenKeyA
RegOpenKey32
RegDeleteKeyA
RegDeleteKey32
RegCloseKey
RegCloseKey32
HKEY_PERFORMANCE_DATA
lpCbBuff
KReadWindowsRegistry16Bits
GlobalAlloc
GlobalLock
GlobalLockPointer
GlobalUnlock
GlobalFree
GlobalAlloc
lpBuff
RegCloseKey32
is16BitOnly
HKEY_DYN_DATA
ReadWindowsRegistry
lpHKey
GlobalUnlock
hBuff
GlobalLockPointer
lpParams
shell
GlobalFree
result
RegCloseKey
hParams
lpCbBuff
>eRegQueryValue
Memory alloc error while trying to get registry Info